﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestEntityFramework.Entities;
using TestEntityFramework.Interfaces;
using TestEntityFramework.Model;

namespace TestEntityFramework.DAOS
{
    public class DAOIngresoHoras : IDAOIngresoHoras
    {
        private PGIngresoTareasEntities DBContext { get; set; }
        private RepositoryContext RepositoryContext { get; set; }

        public DAOIngresoHoras(PGIngresoTareasEntities dbContext, RepositoryContext repositoryContext)
        {
            DBContext = dbContext;
            RepositoryContext = repositoryContext;
        }

        public void insert(IngresoHora ingresoHoras)
        {
            DBContext.IngresoHoras.Add(ingresoHoras);
        }

        public bool member(int code)
        {
            throw new NotImplementedException();
        }
        public void delete(int code)
        {
            throw new NotImplementedException();
        }
        public IngresoHora find(int code)
        {
            throw new NotImplementedException();
        }
    }
}
